//
//  SelectPhotoModel.h
//  Rail
//
//  Created by hychen on 2018/3/4.
//  Copyright © 2018年 Hychen. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SelectPhotoModel : NSObject
/***  图片*/
@property (nonatomic, strong) UIImage *image;
/***  是否是选择图片图标*/
@property (nonatomic, assign, getter=isSelectPhoto) BOOL selectPhoto;
/***  图片时间*/
@property (nonatomic, strong) NSDate *imageDate;
/***  上传图片*/
@property (nonatomic, strong) UIImage *uploadImage;

/**
 *  选择照片模型，就是那个+号，记住
 */
+ (instancetype)selectImageModel;

/**
 *  初始化
 *
 *  @param image       缩略图
 *  @param imageDate   图片拍摄日期
 *  @param uploadImage 上传的图片（压缩过）
 *
 *  @return 图片模型
 */
- (instancetype)initWithImage:(UIImage *)image imageDate:(NSDate *)imageDate uploadImage:(UIImage *)uploadImage;
@end
